@if(count($model)>0)
<label>所属主题</label>
<div class="layui-inline">
    <select name="theme_id"  id="theme_id" >
        <option value="">全部</option>
        @foreach($model as $k=>$v)
            <option value="{{$v->id}}">{{$v->name}}</option>
            @endforeach
    </select>

</div>
    @endif